﻿
Namespace Plugins

    Public Class PluginEnvironment


        Private _mainDockPanel As WeifenLuo.WinFormsUI.Docking.DockPanel


        Private _rootDbDataService As DbDataLib.DbDataService


        Private _rootServiceManager As Services.ServiceManager


        Public Sub New(ByVal mainDockPanel As WeifenLuo.WinFormsUI.Docking.DockPanel, _
                       ByVal rootDbDataService As DbDataLib.DbDataService, _
                       ByVal rootSerivceManager As Services.ServiceManager)

            _mainDockPanel = mainDockPanel
            _rootDbDataService = rootDbDataService
            _rootServiceManager = rootSerivceManager

        End Sub



        Public ReadOnly Property MainDockPanel As WeifenLuo.WinFormsUI.Docking.DockPanel
            Get
                Return _mainDockPanel
            End Get
        End Property



        Public ReadOnly Property RootDbDataService As DbDataLib.DbDataService
            Get
                Return _rootDbDataService
            End Get
        End Property



        Public ReadOnly Property RootServiceManager As Services.ServiceManager
            Get
                Return _rootServiceManager
            End Get
        End Property

    End Class

End Namespace
